import layout from "@/components/layout/index" 

export const routes = [{
	path:"/main",//主页
	component:layout,
	children:[{
		path:"/home",//首页
		alias:"/main",
		component:()=>import("@/pages/home/home")
	},{
		path:"/details",//详情页
		component:()=>import("@/pages/details/details")
	},{
		path:"/signUP",//报名页
		component:()=>import("@/pages/signUP/signUP")
	},{
		path:"/research",//我的证书页
		component:()=>import("@/pages/research/research"),
	},{
		path:"/orders",//我的报名页
		component:()=>import("@/pages/orders/orders"),
	},{
		path:"/user",//考生信息
		component:()=>import("@/pages/user/user"),
	}]
},{
		path:"/ticket",//准考证页
		component:()=>import("@/pages/ticket/ticket"),
	},{
	path:"/register",//注册页
	meta:{
		isLogin:true//可以访问的页面
	},
	component:()=>import("@/pages/register/register")
},{
	path:"/login",//登录页
	alias:"/",
	meta:{
		isLogin:true//可以访问的页面
	},
	component:()=>import("@/pages/login/login")
},{
	path:"*",//404页
	meta:{
		isLogin:true//可以访问的页面
	},
	component:()=>import("@/pages/404/404")
}]